Q3Mesh_GetComponentNumVertices
You can use theQ3Mesh_GetComponentNumVertices
function to determine the number of vertices in a component of a mesh.
TQ3Status Q3Mesh_GetComponentNumVertices ( TQ3GeometryObject mesh, TQ3MeshComponent component, unsigned long *numVertices);
mesh
- A mesh.
component
- A mesh component.
numVertices
- On exit, the number of vertices in the specified mesh component.
DESCRIPTION
TheQ3Mesh_GetComponentNumVertices
function returns, in thenumVertices
parameter, the number of vertices in the mesh component specified by themesh
andcomponent
parameters.SPECIAL CONSIDERATIONS
TheQ3Mesh_GetComponentNumVertices
function might not accurately report the number of vertices in a mesh component if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdates
but before the matching call toQ3Mesh_ResumeUpdates
).